package com.gm.corejava.book1;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA.
 * User: camark@sina.cn
 * Date: 14-1-7
 * Time: 下午4:33
 */
public class CalculatorFrame extends JFrame {
    public CalculatorFrame(){
        setTitle("Calucator");
        setSize(DEFAULT_WIDTH,DEFAULT_HEIGHT);

        contentPanel=new CalPane();
        add(contentPanel);
        pack();
    }
    private final int DEFAULT_WIDTH=400;
    private final int DEFAULT_HEIGHT=400;

    private JPanel contentPanel;
}